dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Rewrite pref cleanup script"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLFormField.php
diff --git
a/includes/htmlform/HTMLFormField.php
b/includes/htmlform/HTMLFormField.php
index
e642c2c
..
9c301e6
100644
(file)
--- a/
includes/htmlform/HTMLFormField.php
+++ b/
includes/htmlform/HTMLFormField.php
@@
-631,7
+631,7
@@
abstract class HTMLFormField {
// the element could specify, that the label doesn't need to be added
$label = $this->getLabel();
- if ( $label ) {
+ if ( $label
&& $label !== ' '
) {
$config['label'] = new OOUI\HtmlSnippet( $label );
}